package run.bottle.shiro.service;

import run.bottle.shiro.model.dto.Result;
import run.bottle.shiro.model.entity.SysUser;

import java.util.List;

public interface SysUserService {

    Result save(SysUser user);

    SysUser getUser(String username);

    List<String> listUserRoles(Long userId);

    List<String> listUserPerms(Long userId);
}
